package edu.hitsz.effect;

import edu.hitsz.aircraft.HeroAircraft;
import edu.hitsz.observer.BombObserver;
import edu.hitsz.prop.BombProp;

public class EffectWithBomb extends EffectStrategy {
    public EffectWithBomb() {}

    @Override
    public void takeEffect(HeroAircraft heroAircraft) {}

    @Override
    public void takeEffect(BombObserver bombObserver) {
        bombObserver.detonate();
    }

    @Override
    public void loseEffect(HeroAircraft heroAircraft) {}
}
